package com.kevin.session;

import java.sql.Connection;

import com.kevin.enums.transaction.TransactionIsolationLevel;

public interface SqlSessionFactory {
	  SqlSession openSession();
	  SqlSession openSession(String tableName);
	  SqlSession openSession(boolean autoCommit);
	  SqlSession openSession(Connection connection);
	  SqlSession openSession(TransactionIsolationLevel level);

	  SqlSession openSession(String tableName,boolean autoCommit);
	  SqlSession openSession(String tableName,Connection connection);
	  SqlSession openSession(String tableName,TransactionIsolationLevel level);
	  Configuration getConfiguration();
}
